<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/MusicWorks.Service.DataContracts" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/MusicWorks.Service.DataContracts" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:63971/CatalogService.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/microsoft-multi-channel-commerce-foundation/types/2008/03" />
  <xs:complexType name="Product">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:HierarchicalCatalogEntity">
        <xs:sequence>
          <xs:element minOccurs="0" name="DefinitionName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DisplayName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="InventoryCondition" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ListPrice" type="xs:decimal" />
          <xs:element minOccurs="0" name="UseCategoryPricing" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Product" nillable="true" type="tns:Product" />
  <xs:complexType name="HierarchicalCatalogEntity">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CatalogEntity">
        <xs:sequence>
          <xs:element xmlns:q1="http://schemas.microsoft.com/microsoft-multi-channel-commerce-foundation/types/2008/03" minOccurs="0" name="Catalog" nillable="true" type="q1:CommerceRelationship" />
          <xs:element xmlns:q2="http://schemas.microsoft.com/microsoft-multi-channel-commerce-foundation/types/2008/03" minOccurs="0" name="ParentCategories" nillable="true" type="q2:CommerceRelationshipList" />
          <xs:element xmlns:q3="http://schemas.microsoft.com/microsoft-multi-channel-commerce-foundation/types/2008/03" minOccurs="0" name="PrimaryParentCategory" nillable="true" type="q3:CommerceRelationship" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="HierarchicalCatalogEntity" nillable="true" type="tns:HierarchicalCatalogEntity" />
  <xs:complexType name="CatalogEntity">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseCommerceEntity">
        <xs:sequence>
          <xs:element minOccurs="0" name="CatalogId" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CatalogEntity" nillable="true" type="tns:CatalogEntity" />
  <xs:complexType name="BaseCommerceEntity">
    <xs:sequence>
      <xs:element minOccurs="0" name="Id" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ModelName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BaseCommerceEntity" nillable="true" type="tns:BaseCommerceEntity" />
  <xs:complexType name="ArrayOfProduct">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Product" nillable="true" type="tns:Product" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfProduct" nillable="true" type="tns:ArrayOfProduct" />
  <xs:complexType name="ArrayOfCategory">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Category" nillable="true" type="tns:Category" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCategory" nillable="true" type="tns:ArrayOfCategory" />
  <xs:complexType name="Category">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:HierarchicalCatalogEntity">
        <xs:sequence>
          <xs:element xmlns:q4="http://schemas.microsoft.com/microsoft-multi-channel-commerce-foundation/types/2008/03" minOccurs="0" name="CategoryHierarchy" nillable="true" type="q4:CommerceRelationshipList" />
          <xs:element xmlns:q5="http://schemas.microsoft.com/microsoft-multi-channel-commerce-foundation/types/2008/03" minOccurs="0" name="ChildCategories" nillable="true" type="q5:CommerceRelationshipList" />
          <xs:element xmlns:q6="http://schemas.microsoft.com/microsoft-multi-channel-commerce-foundation/types/2008/03" minOccurs="0" name="ChildProducts" nillable="true" type="q6:CommerceRelationshipList" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Category" nillable="true" type="tns:Category" />
</xs:schema>